<%@ Control Language="c#" AutoEventWireup="false" Inherits="Dimok.Menu.Action" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<SCRIPT src="/Manager/Menu/Common/Common.js" language="javascript"></SCRIPT>
<TABLE style="width:100%" id="__ACTIONS__">
	<ASP:REPEATER ID="rptActions" Runat="server">
		<ITEMTEMPLATE>
			<TR><TD>
				<INPUT datafld="NextMenuName" class="workflow workflow_<%# DataBinder.Eval(this, "Dir") %>" value="<%# DataBinder.Eval(Container.DataItem, "NextMenuName") %>"
					onselectstart="return false" onclick="<%# DataBinder.Eval(this, "OnClick") %>(<%# DataBinder.Eval(Container.DataItem, "NextMenuID") %>,'<%# DataBinder.Eval(Container.DataItem, "NextMenuName") %>');event.cancelBubble=true" type="button" ID="btnSend">
			</TD></TR>
		</ITEMTEMPLATE>
	</ASP:REPEATER>
</TABLE>
<script language="javascript">
var actionTables = document.all.tags("TABLE");
if( actionTables.length ){
	var actionTable = actionTables[actionTables.length-1];
	try{
	var actionParent = findTop(top);
	}catch(e){actionParent = top;}
	var actionTag = actionParent.document.getElementById('__ACTIONS__');
	actionTable.style.display = actionTag && actionTag.document != actionTable.document  ? 'none' : '';
}
</script>
